
#ifndef _ALITTLE_QUADENTITY_H_
#define _ALITTLE_QUADENTITY_H_

#include "CommonEntity.h"

#include <SDL2/SDL_opengl.h>

namespace ALittle
{

class QuadEntity : public CommonEntity
{
public:
	QuadEntity();
	~QuadEntity();

public:
	void SetRed(float red);
	void SetGreen(float green);
	void SetBlue(float blue);
	void SetAlpha(float alpha);

protected:
	void Draw();

private:
	float m_tex_top, m_tex_bottom, m_tex_left, m_tex_right;

private:
	float m_red, m_green, m_blue, m_alpha;
};

} // ALittle

#endif // _ALITTLE_QUADENTITY_H_
